package com.legrand.www.module.security.manager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.ProviderManager;
import org.springframework.stereotype.Component;

import java.util.Collections;
import java.util.List;

/**
 * @author xiah
 * @date 2018/5/5 15:55
 */
@Component
public class UserAuthenticationManager extends ProviderManager {
    @Autowired
    AuthenticationProvider dd;

    private List<AuthenticationProvider> providers = Collections.emptyList();
    @Autowired
    private AuthenticationManager parent;

    public UserAuthenticationManager(List<AuthenticationProvider> providers) {
        super(providers);
    }


}
